<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>layer弹层组件移动版</title>
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> 
<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link href="demo.css" type="text/css" rel="stylesheet">
<script src="./layer.js"></script>
</head>
<body>
<button type="button" onclick="layer.open({content:'删除失败',time:1.5})">提示框</button><br /><br />
<button type="button" onclick="layer.open({content:'您确定要吗?',btn:['取消','确定'],yes:function(index){location.reload();}})">询问框</button><br /><br />
<button type="button" onclick="layer.open({type:2,shadeClose:false})">加载层</button>
</body>
</html>